Before the environment; here is a line of text that can be wrapped by latexindent.pl. 

\begin{myenv}
Within the environment; here is a line of text that can be wrapped by latexindent.pl. 
\end{myenv}

After the environment; here is a line of text that can be wrapped by latexindent.pl. 
